using System.Collections;
using System.Collections.Generic;
using PureStateMachine;
using UnityEngine;

// Choose hero
public class TSChoose : PState
{
    public TSChoose(PStateBrain brain) : base(brain)
    {
    }

    public override string Name => "Choose";

    public override void StateInit()
    {
        ;
    }

    public override void StateStart()
    {
        LevelManager.instance.OnStartChoose();
    }

    public override void StateUpdate()
    {
        // TransferTo("Place");

    }
    public void OnChooseEnd()
    {
        TransferTo("Place");
    }

    public override void StateEnd()
    {
        LevelBar.instance.nextLevel();
    }
}
